package com.magnificent.atlantis.server.database.message;

import com.magnificent.atlantis.common.entity.messages.ServerMessage;
import com.magnificent.atlantis.server.database.AtlantisDataSource;
import com.magnificent.commons.db.datasource.ObjectEntity;

/**
 * User: Babanin
 * Date: 06.05.2009
 * Time: 12:42:36
 */
public class TextMessageHandler extends MessageHandler {
    public ObjectEntity handleMessage(ServerMessage message) {
        AtlantisDataSource.getInstance().persist(message);
        return message;
    }
}
